
import Vue from 'vue'
import App from './App'
import store from './store/index'
import router from './router' //路由

// 设置为 false 以阻止 vue 在启动时生成生产提示
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
router.beforeEach((to, from, next) => {
  console.log(123);
 
  next();
})
